package com.lcb.account.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/****
 * @Author:lcb
 * @Description:TAccount构建
 * @Date: 2021-01-28 11:27:07
 *****/
@Table(name="t_account")
public class TAccount implements Serializable{

	@Id
    @Column(name = "`id`")
	private Long id;//id

    @Column(name = "`user_id`")
	private Long userId;//用户id

    @Column(name = "`total`")
	private String total;//总额度

    @Column(name = "`used`")
	private String used;//已用余额

    @Column(name = "`residue`")
	private String residue;//剩余可用额度



	//get方法
	public Long getId() {
		return id;
	}

	//set方法
	public void setId(Long id) {
		this.id = id;
	}
	//get方法
	public Long getUserId() {
		return userId;
	}

	//set方法
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	//get方法
	public String getTotal() {
		return total;
	}

	//set方法
	public void setTotal(String total) {
		this.total = total;
	}
	//get方法
	public String getUsed() {
		return used;
	}

	//set方法
	public void setUsed(String used) {
		this.used = used;
	}
	//get方法
	public String getResidue() {
		return residue;
	}

	//set方法
	public void setResidue(String residue) {
		this.residue = residue;
	}


}
